<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>ReflectionFunctionAbstract 类</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionfunction.tostring.html">ReflectionFunction::__toString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionfunctionabstract.clone.html">ReflectionFunctionAbstract::__clone</a></div>
 <div class="up"><a href="book.reflection.html">反射</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.reflectionfunctionabstract" class="reference">

 <h1 class="title">ReflectionFunctionAbstract 类</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 5)</p>


  <div class="section" id="reflectionfunctionabstract.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    <a href="class.reflectionfunction.html" class="classname">ReflectionFunction</a> 的父类，详情请阅读它的描述。
   </p>
  </div>


  <div class="section" id="reflectionfunctionabstract.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">ReflectionFunctionAbstract</strong>
     </span>
     
     <span class="oointerface">implements 
      <span class="interfacename"><a href="class.reflector.html" class="interfacename">Reflector</a></span>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
      <var class="varname"><a href="class.reflectionfunctionabstract.html#reflectionfunctionabstract.props.name">$<var class="varname">name</var></a></var>
    ;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">private</span> <span class="type">void</span><span class="methodname"><a href="reflectionfunctionabstract.clone.html" class="methodname">__clone</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionClass</span><span class="methodname"><a href="reflectionfunctionabstract.getclosurescopeclass.html" class="methodname">getClosureScopeClass</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span><span class="methodname"><a href="reflectionfunctionabstract.getclosurethis.html" class="methodname">getClosureThis</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getdoccomment.html" class="methodname">getDocComment</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionfunctionabstract.getendline.html" class="methodname">getEndLine</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">ReflectionExtension</span><span class="methodname"><a href="reflectionfunctionabstract.getextension.html" class="methodname">getExtension</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getextensionname.html" class="methodname">getExtensionName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getfilename.html" class="methodname">getFileName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getname.html" class="methodname">getName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getnamespacename.html" class="methodname">getNamespaceName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionfunctionabstract.getnumberofparameters.html" class="methodname">getNumberOfParameters</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionfunctionabstract.getnumberofrequiredparameters.html" class="methodname">getNumberOfRequiredParameters</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionfunctionabstract.getparameters.html" class="methodname">getParameters</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="reflectionfunctionabstract.getshortname.html" class="methodname">getShortName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="reflectionfunctionabstract.getstartline.html" class="methodname">getStartLine</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="reflectionfunctionabstract.getstaticvariables.html" class="methodname">getStaticVariables</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.innamespace.html" class="methodname">inNamespace</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.isclosure.html" class="methodname">isClosure</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.isdeprecated.html" class="methodname">isDeprecated</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.isgenerator.html" class="methodname">isGenerator</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.isinternal.html" class="methodname">isInternal</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.isuserdefined.html" class="methodname">isUserDefined</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="reflectionfunctionabstract.returnsreference.html" class="methodname">returnsReference</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="reflectionfunctionabstract.tostring.html" class="methodname">__toString</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>

  

  <div class="section" id="reflectionfunctionabstract.props">
   <h2 class="title">属性</h2>
   <dl>

    
     <dt id="reflectionfunctionabstract.props.name"><var class="varname"><var class="varname">name</var></var></dt>

     <dd>

      <p class="para">
       函数的名称。只读，尝试赋值的时候将会抛出 <a href="class.reflectionexception.html" class="classname">ReflectionException</a>。
      </p>
     </dd>

    
   </dl>

  </div>



 </div>

 









































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="reflectionfunctionabstract.clone.html">ReflectionFunctionAbstract::__clone</a> — Clones function</li><li><a href="reflectionfunctionabstract.getclosurescopeclass.html">ReflectionFunctionAbstract::getClosureScopeClass</a> — Returns the scope associated to the closure</li><li><a href="reflectionfunctionabstract.getclosurethis.html">ReflectionFunctionAbstract::getClosureThis</a> — Returns this pointer bound to closure</li><li><a href="reflectionfunctionabstract.getdoccomment.html">ReflectionFunctionAbstract::getDocComment</a> — Gets doc comment</li><li><a href="reflectionfunctionabstract.getendline.html">ReflectionFunctionAbstract::getEndLine</a> — Gets end line number</li><li><a href="reflectionfunctionabstract.getextension.html">ReflectionFunctionAbstract::getExtension</a> — Gets extension info</li><li><a href="reflectionfunctionabstract.getextensionname.html">ReflectionFunctionAbstract::getExtensionName</a> — Gets extension name</li><li><a href="reflectionfunctionabstract.getfilename.html">ReflectionFunctionAbstract::getFileName</a> — Gets file name</li><li><a href="reflectionfunctionabstract.getname.html">ReflectionFunctionAbstract::getName</a> — Gets function name</li><li><a href="reflectionfunctionabstract.getnamespacename.html">ReflectionFunctionAbstract::getNamespaceName</a> — Gets namespace name</li><li><a href="reflectionfunctionabstract.getnumberofparameters.html">ReflectionFunctionAbstract::getNumberOfParameters</a> — Gets number of parameters</li><li><a href="reflectionfunctionabstract.getnumberofrequiredparameters.html">ReflectionFunctionAbstract::getNumberOfRequiredParameters</a> — Gets number of required parameters</li><li><a href="reflectionfunctionabstract.getparameters.html">ReflectionFunctionAbstract::getParameters</a> — Gets parameters</li><li><a href="reflectionfunctionabstract.getshortname.html">ReflectionFunctionAbstract::getShortName</a> — Gets function short name</li><li><a href="reflectionfunctionabstract.getstartline.html">ReflectionFunctionAbstract::getStartLine</a> — Gets starting line number</li><li><a href="reflectionfunctionabstract.getstaticvariables.html">ReflectionFunctionAbstract::getStaticVariables</a> — Gets static variables</li><li><a href="reflectionfunctionabstract.innamespace.html">ReflectionFunctionAbstract::inNamespace</a> — Checks if function in namespace</li><li><a href="reflectionfunctionabstract.isclosure.html">ReflectionFunctionAbstract::isClosure</a> — Checks if closure</li><li><a href="reflectionfunctionabstract.isdeprecated.html">ReflectionFunctionAbstract::isDeprecated</a> — Checks if deprecated</li><li><a href="reflectionfunctionabstract.isgenerator.html">ReflectionFunctionAbstract::isGenerator</a> — Returns whether this function is a generator</li><li><a href="reflectionfunctionabstract.isinternal.html">ReflectionFunctionAbstract::isInternal</a> — Checks if is internal</li><li><a href="reflectionfunctionabstract.isuserdefined.html">ReflectionFunctionAbstract::isUserDefined</a> — Checks if user defined</li><li><a href="reflectionfunctionabstract.returnsreference.html">ReflectionFunctionAbstract::returnsReference</a> — Checks if returns reference</li><li><a href="reflectionfunctionabstract.tostring.html">ReflectionFunctionAbstract::__toString</a> — To string</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionfunction.tostring.html">ReflectionFunction::__toString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionfunctionabstract.clone.html">ReflectionFunctionAbstract::__clone</a></div>
 <div class="up"><a href="book.reflection.html">反射</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
